				<h2 id="loading-a-kit">Using a Kit</h2>
				<p>Before retrieving any Kit, put this line into your code :</p>
				<code>/**
* getting webappkit core (only once call is necessary)
*/
include('webappkit/include-me.php');</code>
				<p>When you need a Kit's resource, let's say <em>ooxmlrpc</em>, <strong>load it</strong> with :</p>
				<code>/**
* loads a kit resources
*/
webappkit::loadKit('ooxmlrpc');</code>
				<p>If you need only a subkit, let's say <em>http</em> within <em>databeans</em> within <em>webappkit</em>, get it with :</p>
				<code>/**
* loads a subkit's resources
*/
webappkit::loadKit('webappkit/databeans/http');</code>
				<p>In this exemple, <em>webappkit/databeans/http</em> requires <em>webappkit/databeans/databean</em>, but you don't have to take care about that.</p>
				<p>webappkit::loadkit($id) returns the kit instance. You can also retrieve a kit instance, <em>without loading its resources</em>, with webappkit::getkit($id).</em>

				<h2 id="using-a-service">Services</h2>
				<p><em>Services</em> are named object instances taking their configuration data from the kit they belong to.</p>
				<p>For example, a web application built on appEngine (webappkit's embedded tiny framework) provides an <em>appengine</em> service with its own config.</p>
				<p>You get them from the kit instance :</p>
				<code>/**
 * retrieving the kit instance.
 */
$kit=&webappkit::loadKit('helloworld');
/**
 * getting its appengine service. If you used getKit() rather than loadKit(), kit will be loaded there.
 */
$engine=&$kit->getService('appengine');
/**
 * using the kit's service
 */
$engine->serveRequest();</code>

				<h2 id="using-a-storage">Storages</h2>
				<p><em>Storages</em> are very similar to Services, but they have a specific functionality. They build and retrieve object instances stored within kits files.</p>
				<p>For example, let's get a template from our sample kit :</p>
				<code>/**
 * retrieving the kit instance.
 */
$kit=&webappkit::loadKit('helloworld');
/**
 * getting its templates storage. If you used getKit() rather than loadKit(), kit will be loaded there.
 */
$store=&$kit->getStorage('templates');
/**
 * getting and rendering the template
 */
$tpl=$store->getItem(array('id'=>'help','lang'=>'en'));
echo $tpl->render();</code>